<!-- 
 * @description: 引入iconfont的图标库
 * @author: Linh 
 * @date: 2023-02-27 16:13:18
!-->
<template>
    <IconF :type="iconName" />
</template>

<script>
import { Icon } from 'ant-design-vue';
import { iconfontUrl } from "@/config";

const IconF = Icon.createFromIconfontCN({
    scriptUrl: iconfontUrl,
});

export default {
    props: {
        iconName: {
            type: String,
            default: ''
        },
    },

    components: {
        IconF,
    },
};
</script>

<style lang="scss" scoped></style>